//
//  NotesTableViewCell.h
//  TravelFirst
//
//  Created by lanou on 15/9/19.
//  Copyright (c) 2015年 吴娅君. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PraiseAndCommentView.h"
#import "NotesModel.h"

@interface NotesTableViewCell : UITableViewCell

// 作者头像
@property (nonatomic, strong) UIButton *nicknameImageView;
// 作者名字
@property (nonatomic, strong) UILabel *nicknameLabel;
// 图片数量
@property (nonatomic, strong) UILabel *picturesNumberLabel;
// 更新时间
@property (nonatomic, strong) UILabel *updateTimeLabel;
// 图片展示
//@property (nonatomic, strong) UIImageView *pictureImageView;
@property (nonatomic, strong) UICollectionView *picturesShowCollectionView;
// 更多图片
@property (nonatomic, strong) UIButton *morePicturesButton;
// 图片标题
@property (nonatomic, strong) UIButton *nameButton;
@property (nonatomic, strong) UIImageView *nameImageView;
// 定位地址
@property (nonatomic, strong) UILabel *locationLabel;
@property (nonatomic, strong) UIImageView *locationImageView;
// 图片描述
@property (nonatomic, strong) UILabel *descriptionLabel;
@property (nonatomic, strong) UIImageView *descriptionImageView;

// 评论内容
//@property (nonatomic, strong) UITableView *commentTableView;
@property (nonatomic, strong) UILabel *commentLabel;

// 赞和评论
@property (nonatomic, strong) PraiseAndCommentView *praiseAndCommentView;

@property (nonatomic, strong) UIView *backgroundImageView;

- (void)setValueWithModel:(NotesModel *)model;

- (void)setTarget:(id)target moreButtonAction:(SEL)moreButtonAction nameButtonAction:(SEL)nameButtonAction nicknameButtonAction:(SEL)nicknameButtonAction index:(NSInteger)index;

- (void)setPraiseAndCommentWithTarget:(id)target tapAction:(SEL)tapAction praiseAction:(SEL)praiseAction commentAction:(SEL)commentAction index:(NSInteger)index;

- (void)setFrameWithModel:(NotesModel *)model;

+ (CGFloat)setCellHeightWithModel:(NotesModel *)model;

//- (void)setCollectionDataWithIndex:(NSInteger)index identifier:(NSString *)identifier array:(NSMutableArray *)array model:(NotesModel *)model;

@end
